package com.CmJava.Dubbo.provider.register.remoteRegister;

import java.io.Serializable;

public class URL implements Serializable {
    private String schema;
    private String hostName;
    private String port;
    private String dubboPath;

    public URL() {
    }

    public URL(String schema, String hostName, String port, String dubboPath) {
        this.schema = schema;
        this.hostName = hostName;
        this.port = port;
        this.dubboPath = dubboPath;
    }

    public String getDubboPath() {
        return dubboPath;
    }

    public void setDubboPath(String dubboPath) {
        this.dubboPath = dubboPath;
    }

    public String getSchema() {
        return schema;
    }

    public void setSchema(String schema) {
        this.schema = schema;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }
}

